#pragma once

#include <linux/types.h>
#include <asm/page.h>

struct page
{
    union
    {
        struct
        {
            union
            {
                struct list_head buddy_list;
            };

            union
            {
                pgoff_t index;       /* Our offset within mapping. */
                unsigned long share; /* share count for fsdax */
            };

            unsigned char order;
        };
    };

    atomic_t _refcount;
};
